#include "njm_utils.hpp"

namespace njm {


    const std::string getCompletePath(const std::string& relativePath) {
        namespace fs = std::filesystem;
        auto cwd = fs::current_path().lexically_normal();
        auto relaPath = fs::path(relativePath).lexically_normal();
        auto absolutePath = cwd / relaPath;

        std::cout << "cwd: " << cwd << std::endl;
        std::cout << "relaPath: " << relaPath << std::endl;
        std::cout << "absolutePath: " << absolutePath << std::endl;
        return absolutePath.string();
    }

}